package com.sm.dao;

import com.sm.model.HappyOrder;
import com.sm.model.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HappyOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HappyOrder record);

    int insertSelective(HappyOrder record);

    HappyOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HappyOrder record);

    int updateByOrderNum(HappyOrder record);

    int updateByPrimaryKey(HappyOrder record);

    HappyOrder selectByOrderNum(@Param("orderNum") String orderNum);
}
